<?
import("jsml_parser_ParserView");
import("jsml_parser_LexView");
jsml_parser_ParserConfig::$config = new jsml_parser_ParserConfig();
class jsml_parser_ParserConfig extends jsml_Config{
	public static $config;
	public $ParserView = 'ParserView';
	public $LexView = 'LexView';
	protected function configBean($key){
		$bean = parent::configBean($key);
		if ($this->ParserView == $key) {
			$bean = $this->singleton($key, new jsml_parser_ParserView())->construct(null);
		} else if ($this->LexView == $key) {
			$bean = $this->singleton($key, new jsml_parser_LexView())->construct(null);
		}
		return $bean;
	}
}
